package zhiHu;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by sheny on 2017/1/2.
 */
public class ZhiHuParam {
    private String question;//问题
    public String questionDescription;// 问题描述
    private String zhiHuUrl;//链接
    public List<String> answers;// 存储所有回答的数组

    @Override
    public String toString() {
        return "问题：" + question + "\n" + "描述：" + questionDescription + "\n"
                + "链接：" + zhiHuUrl + "\n回答：" + answers + "\n";
    }

    public ZhiHuParam(String group) {
        this.question = "";
        this.questionDescription = "";
        this.zhiHuUrl = "";
        this.answers = new ArrayList<String>();;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getZhiHuUrl() {
        return zhiHuUrl;
    }

    public void setZhiHuUrl(String zhiHuUrl) {
        this.zhiHuUrl = zhiHuUrl;
    }

    public List<String> getAnswers() {
        return answers;
    }

    public void setAnswers(List<String> answers) {
        this.answers = answers;
    }

    public String getQuestionDescription() {
        return questionDescription;
    }

    public void setQuestionDescription(String questionDescription) {
        this.questionDescription = questionDescription;
    }
}
